<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
> Detailed utilisation </TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE=" warc-tools version 0.17  A library for data archiving "
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE=" OPTIONS "
HREF="x91.html"><LINK
REL="NEXT"
TITLE=" arc2warc "
HREF="x145.html"></HEAD
><BODY
CLASS="chapter"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>warc-tools version 0.17  A library for data archiving</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x91.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x145.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="chapter"
><H1
><A
NAME="chapter3"
></A
>Chapter 3.  Detailed utilisation </H1
><P
>&#13;  This chapter gives more details on the use of warc-tools applications.
  </P
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN129"
>3.1. warcdump</A
></H1
><P
>&#13;       The option -f is mandatory  when we use warcdump. It is used to indicate the name of the WARC file to dump.
       </P
><P
>&#13;       The option -t is optional it allows to give the application working directory for temporary files creation.
	    By default working directory is the current one.
       </P
><P
>&#13;       The option  -v is optional. It specifies if the user wants to also get anvl fields details with the header.
       </P
><P
>&#13;       Her, there is two usage examples, in the first one  only the header is dumped, in the second
       both of the header and the anvl fields are dumped:
       </P
><DIV
CLASS="example"
><A
NAME="AEN135"
></A
><P
><B
>Example 3-1.  How to use warcdump command to get only the header. </B
></P
><PRE
CLASS="screen"
>&#13;<SAMP
CLASS="prompt"
>mohamed@mohamed-desktop:~$ </SAMP
><KBD
CLASS="userinput"
>warcdump -f file.warc -t /tmp/</KBD
>
       </PRE
></DIV
><DIV
CLASS="example"
><A
NAME="AEN140"
></A
><P
><B
>Example 3-2.  How to use warcdump command to get the header and the anvl fields. </B
></P
><PRE
CLASS="screen"
>&#13;<SAMP
CLASS="prompt"
>mohamed@mohamed-desktop:~$ </SAMP
><KBD
CLASS="userinput"
>warcdump -f file.warc -t /tmp/ -v </KBD
>
       </PRE
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x91.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x145.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>OPTIONS</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>arc2warc</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>